package com.md.Lession;

import java.util.Scanner;

public class Lession1 {

	public static void main(String[] args) {
		String roleName;
		long health;
		short damage;
		byte defense;
		double weaponScaling;
		boolean isHot;
		
		Scanner scan = new Scanner(System.in);
		System.out.println("请输入英雄的名字");
		roleName =scan.next();
		
		System.out.println("请输入英雄的生命值");
		health =scan.nextLong();
		
		System.out.println("请输入英雄的攻击力");
		damage =scan.nextShort();
		
		System.out.println("请输入英雄的防御力");
		defense =scan.nextByte();
		
		System.out.println("请输入英雄的武器加成");
		weaponScaling =scan.nextDouble();
		
		System.out.println("是否是热门英雄");
		isHot =scan.nextBoolean();
		
		System.out.println("人物角色名:"+roleName);
		System.out.println("生命值:"+health);
		System.out.println("攻击力:"+damage);
		System.out.println("防御力:"+defense);
		System.out.println("武器加成:"+weaponScaling);
		System.out.println("是否是热门英雄:"+isHot);
	}

}
